from crmv2.models import Student
from django.contrib import admin

class StudentAdmin(admin.ModelAdmin):
    list_display = ['name_en', 'name_ch', 'email', 'program', 'applytime', 'graduated']
    list_filter = ['program', 'applytime', 'graduated']
    search_fields = ['name_en', 'name_ch', 'email']


admin.site.register(Student, StudentAdmin)
